-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
API: MultiIndex attributes return tuple instead of FrozenList #53582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: Pandas Development Team <pandas-dev@python.org>
a304ab6 to
651bd7b
Compare
* CI: Pin more cython * Update actions-311-numpydev.yaml * Update unit-tests.yml * Update .github/workflows/unit-tests.yml * Update .github/workflows/unit-tests.yml --------- Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
* Fix roundtripping with pyarrow schema * Skip for lower versions
* BUG: merge raising for ea int and numpy float * Fix up mypy and add check
…das-dev#54746) * Increase threashold for using binary search in IndexEngine * Add an entry to the latest whatsnew * Improve entry in the lastest whatsnew --------- Co-authored-by: Patrick Hoefler <61934744+phofl@users.noreply.github.com>
It is there by default in asv > 0.6.0
* wip * add has_only_ints_or_nan cython helper * wip * take care of nat * fixup more tests * catch interval[int64, right] warning * just use isna * fixup tests * noop * exclude NaT --------- Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
…andas-dev#54737) * MAINT: small simplification of meson.build following best practices * MAINT: remove comment about resolved issue * BUG: fix build with default Homebrew Python setup Homebrew does not install a python link, just python3.
* TYP: fix a few types * namespace test * read_fwf overloads * Revert "namespace test" This reverts commit 0f72079. * revert util and move kwds * isort
* add test case of ngroup with nan value Co-authored-by: José Lucas Silva Mayer <josemayer@usp.br> Co-authored-by: Willian Wang <git@willian.wang> * fix linter issues Co-authored-by: José Lucas Silva Mayer <josemayer@usp.br> Co-authored-by: Willian Wang <git@willian.wang> * use Categorical object instead of pd.Categorical Co-authored-by: José Lucas Silva Mayer <josemayer@usp.br> Co-authored-by: Willian Wang <git@willian.wang> * use native assert function Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> * test full result of ngroup method Signed-off-by: José Lucas Silva Mayer <josemayer@usp.br> --------- Signed-off-by: José Lucas Silva Mayer <josemayer@usp.br> Co-authored-by: Willian Wang <git@willian.wang> Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
pandas-dev#54947) * Use window parameter of test_freq_window_not_implemented * Revert change in exception message
…55034) Add missing word to `IndexOpsMixin.array` docstring
* BUG: pct_change showing unnecessary FutureWarning * Fix df case * Fix
…54950) * DEPR: DataFrameGroupBy.apply operating on the group keys * fixups * Improvements * Add DataFrameGroupBy.resample to the whatsnew; mypy fixup * Ignore wrong parameter order * Ignore groupby.resample in docstring validation * Fixup docstring
* BLD: Build wheels for Python 3.12 * Update pyproject.toml * Update pyproject.toml * also circle * fix windows? * typo? * try single quotes * tyr to fix again * just use the base shared tag, no need to append windowsservercore * typo * update the other too * Update wheels.yml * try something * try something * debug * escape string? * go for green
* Convert test_sql to pytest idiom * Try KeyError catch * Added drop_view to existing test method * xfail MySQL issue
* BLD: some changes to make meson.build more idiomatic - Use `pure: false` only in a single place. This is recommended for robustness, this way you can't forget it in a subdirectory and end up with a subtly broken package only on niche Linux distros that split purelib and platlib directories. - Use `py.install_sources` with a list input rather than in a foreach loop. - Remove the `werror` comment: it's never a good idea to enable `-Werror` by default in the build config of a library, that can easily break builds. This should be done in one or more CI jobs instead. * BLD: run `generate_version.py` with a shebang, not 'python' The way this was before can result in build failures. It assumed that `python` is a working Python 3.x interpreter, and that is not always true. See for example this bug report for the exact same thing in NumPy, where `python` isn't working for Sage: numpy/numpy#24514 Meson guarantees that .py scripts with a shebang on the top line will be run with a Python interpreter (if there's none on the PATH, it can use the one Meson itself is run with). Hence this is the most robust way of using `run_command` on a .py script.
* ENH: update bundled pyperclip with changes from 1.8.2 release Copy the changes from upstream 1.8.2 to the bundled copy of pyperclip. The code was reformatted using black and verified using ruff. The existing modifications from pandas were preserved. * ENH: Remove Python 2 compatibility from imported pyperclip code Remove the fallback to which/where that is only necessary for Python 2 that does not feature shutil.which(). Also collapse the imports to avoid importing shutil.which() twice. It is now only imported as `_executable_exists()` to minimize the changes to the original code. * BUG: Fix pylint failure (redundant `pass`) in clipboard
COMPAT: bump pyarrow min version test for div on duration
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…-dev#55085) BUG: concat ignoring sort parameter for DatetimeIndex
* PERF: concat(axis=1) with unaligned indexes * whatsnew
…ndas-dev#55057) * fix an example in whatsnew/v0.10.0.rst * correct thee example in v0.10.0.rst
* ENH: numba engine in df.apply * fixes * more fixes * try to fix * address code review * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * go for green * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update type --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
3 tasks
Member
Author
|
I'll just reopen later once it's closer to 3.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tupleinstead ofFrozenList? #53531 (Replace xxxx with the GitHub issue number)doc/source/whatsnew/vX.X.X.rstfile if fixing a bug or adding a new feature.